package com.cloudsigns.factorymanager2.engineering.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.cloudsigns.factorymanager2.BaseActivity;
import com.cloudsigns.factorymanager2.R;
import com.cloudsigns.factorymanager2.project.activity.AddProductInfomationActivity1;
import com.cloudsigns.factorymanager2.project.utils.ConstantUtil;

public class DispatchEditEngineeringSurveyOrderActivity extends BaseActivity {
    private View rl_back;
    private TextView tv_title;
    private Button btn_save;

    @Override
    protected void onBaseCreate(Bundle savedInstanceState) {
        setContentView(R.layout.layout_edit_engineering_survey_dispatch);
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        rl_back = findViewById(R.id.rl_back);
        tv_title = findViewById(R.id.tv_title);
        btn_save = findViewById(R.id.btn_save);
    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        tv_title.setText("现场勘查");
    }

    @Override
    public void setListener() {
        rl_back.setOnClickListener(this);
        btn_save.setOnClickListener(this);
    }

    @Override
    public void widgetClick(View v) {
        Intent mIntent;
        switch (v.getId()) {
            // 返回
            case R.id.rl_back:
                finish();
                break;
            // 保存
            case R.id.btn_save:
                break;
        }
    }
}
